package com.vates.vsp.practico.alumnos.service;

import java.util.Collection;
import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.vates.vsp.practico.alumnos.business.Alumnos;

public interface AlumnosService {

	public abstract Alumnos getAlumno(Integer id);

	@Transactional
	public abstract void guardarAlumno(Alumnos alumno);

	@Transactional
	public abstract void eliminarAlumno(Alumnos alumno);

	public abstract List<Alumnos> getAllAlumnos();

	@Transactional
	public abstract void guardarAlumnos(Collection<Alumnos> alumnos);

	@Transactional
	public abstract void eliminarAlumnos(Collection<Alumnos> alumnos);
	
	public abstract List<Integer> getAllIdAlumnos(); 

}